﻿@model IList<Ducu.SRV.ViewModel.Chat.ItemModel>
@using Global.Core.ExtensionMethod
@foreach (var item in Model)
{
    string className = item.SaidByMe ? "pull-left" : "pull-right";
    string greed = item.SaidByMe ? "我" : "他/她";
    <div class="@className" style="clear:both; width:80%">
        <small>@item.CreateTime.ToChinese()</small>
        <br />
        <label>@greed 说：</label>
        <br />
        <span>@Html.Raw(item.Content)</span>
        <hr />
    </div>
}
